const mongoose = require('mongoose')
let BookSchema = new mongoose.Schema({
  name: String,
  author: String,
  price: Number,
  is_hot: Boolean
})
let BookModel = mongoose.model('novel', BookSchema)
// 暴露模型对象
module.exports = BookModel
